package com.noreply.springannotation.config;

import org.springframework.context.annotation.Bean;
import org.springframework.core.annotation.AliasFor;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

/**
 * @author noreply
 * @description
 * @datetime 2021/12/26 19:34
 */
@Bean
@Retention(RetentionPolicy.RUNTIME)
public @interface MyBean {
    @AliasFor(value = "name", annotation = Bean.class)
    String[] name() default {};
}
